package com.itgaoshu.service;

import com.itgaoshu.bean.SysUser;
import com.itgaoshu.mapper.SysUserMapper;

import java.util.List;

public interface SysUserService {

    //查询所有用户
    public List<SysUser>   selectAllUsers();
    //检查用户是否已经存在
    public int   checkUser(String loginname);
    //添加用户
    public int addUser(SysUser user);
    //删除用户
    public int deleteUserById(Integer userid);
    //修改用户
    public int updateUser(SysUser user);

}
